<?php

namespace app\beautiful\logic\order;

class OrderLogic{
    
    private static $app;

    public static function init($shopId){
        self::$app = [
            'normal'=> new OrderNormalLogic($shopId),//普通商品订单
            'pre_sale'=> new OrderPreSaleLogic($shopId),//预售商品订单
            'flash_sale'=> new OrderFlashSaleLogic($shopId) ,//秒杀商品订单
            'pin_tuan'=> new OrderPinTuanLogic($shopId),//拼团商品订单
            'store'=> new OrderStoreLogic($shopId),//拼团商品订单
            'snap_up'=>new OrderSnapUpLogic($shopId),
            'once_card'=>new OrderOnceCardLogic($shopId),
        ];
        return self::$app;
    }

}